package cn.wizzer.app.user.modules.services.account;

import cn.wizzer.app.user.modules.models.UserRecharge;
import cn.wizzer.app.user.modules.models.UserTransfer;
import cn.wizzer.app.user.modules.models.enums.ChannelEnum;
import cn.wizzer.app.user.modules.models.enums.TransferStatusEnum;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

import java.math.BigDecimal;

public interface UserTransferService extends BaseService<UserTransfer> {

    void transfer(String appid, BigDecimal amount, String username);

    Pagination listPage(int pageNumber, int pageSize, boolean isTransfer, TransferStatusEnum status, String userId, String searchKeyword, String startTime, String endTime);

    void transferConfirm(String id, String userId);

    void transferCancel(String id, String userId);

    Pagination listPage(int pageNumber, int pageSize, String no, String transferKeyword, String collectKeyword, String[] searchDate, TransferStatusEnum status);
}
